package com.road.vast.pojo.system;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 权限信息
 * </p>
 *
 * @author 郭泽鹏
 * @since 2020-07-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="PePermission对象", description="权限信息")
public class PePermission implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "主键")
      @TableId(value = "id", type = IdType.ID_WORKER)
    private String id;

    @ApiModelProperty(value = "权限名称")
    private String name;

    @ApiModelProperty(value = "权限类型 1为菜单 2为功能 3为API")
    private Integer type;

    @ApiModelProperty(value = "权限编码")
    private String code;

    @ApiModelProperty(value = " 权限描述")
    private String description;

    private String parentId;

    @ApiModelProperty(value = "可见状态")
    private String enVisible;


}
